package com.ruoyi.lvlian.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
@ToString
@ApiModel(value = "司机", description = "司机")
public class DriverInfoDto {

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "身份证号")
    private String licenseNo;

    @ApiModelProperty(value = "性别")
    private String gender;


    @ApiModelProperty(value = "司机联系方式")
    private String phoneNo;



    @ApiModelProperty(value = "初次领证日期")
    private String firstApprovedDate;

    @ApiModelProperty(value = "驾驶证发证机关")
    private String agency;

    @ApiModelProperty(value = "所属公司编码")
    private String orgCode;

    @NotNull(message = "orgCodes不能为空") // 这是实际的验证注解
    private List<String> orgCodes;

    @ApiModelProperty(value = "是否有图")
    private Boolean haveImg;
    @ApiModelProperty(value = "已通过 已拒绝 待审批 ")
    private String dataStatus;

    @ApiModelProperty(value = "数据来源填 实时物流小程序  四流平台")
    private String dataSource;
}
